<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>회원 등록 양식</title>
<link rel="stylesheet" type="text/css" href="../style/main.css" />
<script type="text/javascript">
	function cancelReg() {
		if (confirm("회원 등록을 취소하시겠습니까?")) {
			location.href = "./members.jsp";
		}
	}
</script>
</head>
<body>

	<form action="member_add.jsp" method="post">
	
		<table>
			<tr>
				<th>아이디</th>
				<td><input type="text" name="loginId" /></td>
			</tr>
			<tr>
				<th>이름</th>
				<td><input type="text" name="name" /></td>
			</tr>
			<tr>
				<th>이메일</th>
				<td><input type="text" name="email" /></td>
			</tr>
			<tr>
				<th>전화번호</th>
				<td><input type="text" name="telNo" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="등록" />
					<input type="button" value="취소" onclick="cancelReg();" />
				</td>
			</tr>
		</table>
	
	</form>

</body>
</html>